package com.shycloud.mido.music.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shycloud.mido.music.domain.MisUserMusic;
import com.shycloud.mido.music.vo.MisMusicVO;

public interface MisUserMusicService extends IService<MisUserMusic> {

	/**
	 * 分页获取【我喜欢】列表
	 *
	 * @param page
	 * @param userId
	 * @param type
	 * @return com.baomidou.mybatisplus.core.metadata.IPage<com.shycloud.mido.music.domain.MisMusic>
	 * @author nianhua.jiang
	 * @date 2020/6/13 14:56
	 */
	IPage<MisMusicVO> getUserMusic(Page page, String userId, String type);

	int getDownloadMp3Count(String id);

    Integer getUserMusicCount(String memberId);
}
